@import "@/base.scss";
@import "~@@/app_style";

.index {
  width: 100%;
  height: calc(100vh);
  display: flex;
  flex-direction: column;
  background: #f8f8f8;

  .main {
    width: 100%;
    flex-grow: 1;
    overflow: auto;
    background: #fff;
    position: relative;

    .text {
      text-align: left;
    }

    .at-list::after {
      border: solid #E6E6E6 1px;
    }

    .at-list__item-extra {
      max-width: 310px;
    }
    .at-list__item .item-extra__info {
      padding-right: 6px;
    }
    .diy-item {
      width: 100%;
      height: 90px;
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid  #E6E6E6;
      .diy-item-left {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 10px 0px;
        margin-left: 32px;
        font-size: 32px; 
        color: #333333;
        .mark {
          display: flex;
          align-items: center;
          width: 30px;
          height: 30px;
          margin-left: 15px;
          .mark-img {
            width: 100%;
            height: 100%;
          }
        }
      }
      .diy-item-right {
        display: flex;
        align-items: center;
        .at-switch {
          margin-left: 32px;
          margin-right: 38px;
          padding: 0px;
        }
      }
      .at-switch::after{
        border: none;
      }
    }
    .diy-item:first-child {
      margin-top: 1px;
      border-top: 1px solid  #E6E6E6;
    }

    .at-checkbox__option--selected .at-checkbox__icon-cnt {
      background-color: $main_color;
    }
    .signIn-form {
      position: relative;
    }

    .border {
      width: 750px;
      height: 100px;
      display: flex;
      justify-content: space-around;

      .left {
        margin-top: 25px;

        .del {
          font-size: 32px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #333333; 
        }
      }
      .at-checkbox__option--selected .at-checkbox__icon-cnt {
        background-color: $main_color;
      }

      .at-checkbox__title{
         font-size: 32px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #333333; 
      }
    }

    .button {
      width: 400px;
      height: 80px;
      // background: linear-gradient(134deg, #ed3333 0%, #d20202 100%);
      background: $main_color;
      box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      line-height: 80px;
      // margin: 200px auto 0;
      position: absolute;
      bottom: 60px;
      left: 50%;
      transform: translate(-50%);
      text-align: center;

      .save {
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: 300;
        color: #ffffff;
        letter-spacing: 10px;
      }
    }

    // 签到内容自定义标签样式
    .checkbox-group {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      padding: 20px;
      .checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200px;
        height: 64px;
        margin: 15px 15px;
        color: #999999;
        border: 1px solid #999999;
        border-radius: 10px;
        font-size: 28px;
      }
      .checked {
        // 背景与边框冲突，将边框设置为零，增加长宽补偿
        width: 204px;
        height: 68px;
        color: $main_color;;
        border: 0px;
        background: url($url + '/selected.png');
        background-size: 204px 68px;
      }
    }

    .at-input {
      margin-left: 0;
      padding-left: 10px;  
    }

    .at-input__input ::placeholder{
      color: #999999;
      font-size: 28px;
    }
    .at-input::after {
      border-bottom: solid #E6E6E6 1px;
    }
    .input-box .input-content:nth-child(1){
      border-top: none;
    }
    .check-item {
      display: none;
    }
    .add-content {
      text-align: center;
      color: $main_color;
    }
    .at-checkbox::before {
      border-top: 0px;
    }
    .at-checkbox::after {
      border-bottom: 0px;
    }
    .at-list__item::after {
      border-bottom: 0px;
    }
    .input-content {
      border-top: 1px solid rgba(214, 228, 239, 0.5);
    }
    .at-input__input{
      padding-left: 25px; 
      font-size: 28px;
      font-family: PingFang SC;
      font-weight: 300;
      line-height: 51px;
      color: #333;
      opacity: 1;
    }
    .item-content__info-title{
      padding-left: 10px; 
      font-size: 32px;
      font-family: PingFang SC;
      font-weight: 400; 
      color: #333333;
      opacity: 1;
    }
  }
}
